<?php

namespace app\common\model;

use think\Model;

class Authgroup extends Model
{
    //一对多 获取该组下的所有权限
    public function getAllRule()
    {
        return $this->hasMany('Authrule')->field('title');
    }
}
